home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
x
/
xquestion.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-09
|
1KB
|
51 lines
/* WIDE AREA INFORMATION SERVER SOFTWARE:
No guarantees or restrictions. See the readme file for the full standard
disclaimer.
This is part of the X user-interface for the WAIS software. Do with it
as you please.
jonathan@Think.COM
* $Log: xquestion.h,v $
* Revision 1.4 92/03/17 14:19:56 jonathan
* Separated from question.c.
*
*/
#ifndef _H_XQUESTION
#define _H_XQUESTION
#include "question.h"
typedef struct QuestionWindow {
Widget shell;
Widget keywordwid;
ScrollList Sources;
ScrollList RelevantDocuments;
ScrollList ResultDocuments;
Widget StatusWindow;
Widget Textwindow;
char *textbuffer;
} _QuestionWindow, *QuestionWindow;
typedef struct xquestion{
Question q;
char **Source_Items;
char **Relevant_Items;
char **Result_Items;
QuestionWindow window;
} _XQuestion, *XQuestion;
/* function definitions */
XQuestion findQuestionWindow();
QuestionWindow MakeQuestionWindow();
void DeleteQuestionWindow();
char **buildQuestionItemList();
DocList build_response_list();
void SearchWais();
boolean init_for_source();
DocumentID getNextorPrevDoc();
#endif